﻿using DbContext;
using SmartPlant.Model.Biz;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;

namespace SmartPlant.Services.Interfaces
{
    public interface IRevisionService
    {
        public Task<List<Revision>> GetById(decimal dwgid);

        Task<bool> UpdateRevisionAsync(decimal proId, Revision revision);
        Task<Revision> InsertRevisionAsync(decimal proId,Revision revision);

        Task<bool> DeleteRevisionAsync(decimal proId, decimal dwgid, decimal revid);

    }

}
